package com.api.login;

import com.st.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@Component
@FeignClient("st-sso")
public interface ILoginClient {
    //发送短信验证码
    @RequestMapping("/sendCode")
    public Result sendCode(@RequestParam("phone") String phone);


}
